package com.wanmait.houlang.service.impl;

import com.github.pagehelper.PageInfo;
import com.wanmait.houlang.mapper.DistrictMapper;
import com.wanmait.houlang.pojo.District;
import com.wanmait.houlang.service.DistrictService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
@Service
public class DistrictServiceImpl implements DistrictService {
    @Resource
    private DistrictMapper districtMapper;
    @Override
    public void insert(District object) {

    }

    @Override
    public void delete(Integer id) {

    }

    @Override
    public void delete(String ids) {

    }

    @Override
    public void update(District object) {

    }

    @Override
    public District findById(Integer id) {
        return null;
    }

    @Override
    public List<District> findAll() {
        return districtMapper.findAll();
    }

    @Override
    public PageInfo<District> findAll(int pageNum, int pageSize, District object) {
        return null;
    }

}
